<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>QQ注册验证</title>
	</head>
	<body background="body.png" style="background-repeat: repeat-x;">
		<p>
			<img src="bg_chs.png" />
		</p>
		<form action="#" method="post" >
			<table  border="0" >
				<tr>
					<td>
						<h2>注册账号</h2>
							<label for="username">昵称</label>
							<input type="text" name="nicheng" value="kxxw" maxlength="10" id="username" required pattern="[-\w\u4e00-\u9fa5]{4,10}"/>
							<label for="username">长度为4-10个字符</label> 
					</td>
				</tr>
				<tr>
					<td>
						<label for="pass">密码</label>
						<input type="password" name="mima" value="......"  maxlength="16" id="pass" requierd pattern="[\dA-Za-z]{6,16}"/>
						<label for="pass">长度为6-16个字符</label>
					</td>
				</tr>
				<tr>
					<td>
						<label for="pass2">确认密码</label>
						<input type="password" name="mima2" value=".."  maxlength="16" id="pass2" requierd pattern="[\dA-Za-z]{6,16}"/>
						<label for="pass2">长度为6-16个字符</label>
					</td>
				</tr>
				<tr>
					<td>
						<label for="iphone">手机号码</label>
						<input type="text" name="haoma" value=""  maxlength="11"  id="iphone" requierd pattern="1[3578]\d{9}"/>
						<label for="iphone"> 密码长度为11位，以13|5|7|8开头</label>
					</td>
				</tr>
				<tr>
					<td>
						<label for="mail">邮箱</label>
						<input type="text" name="qmail" value="" id="mail" requierd />
					</td>
				</tr>
				<tr>
					<td>
						<label for="year">年龄</label>
						<input type="text" name="nianji" value=""  id="year" requierd pattern="\d|[1-9]\d|[0-2]\d"/>
					</td>
				</tr>
				<tr>
					<td>
						
						<input type="image"  src="btn.bmp"    href="3-2.html"  />
						
					</td>
				</tr>|
			</table>
		</form>
	</body>
</html>
